package org.nfyszny.zzzs.modules.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产品备案
 * @Author: jeecg-boot
 * @Date: 2022-11-11
 * @Version: V1.0
 */
@Data
@TableName("zzzs_product_recording")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "zzzs_product_recording对象", description = "产品备案")
public class ZzzsProductRecording implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 产品名称
     */
    @Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String productName;
    /**
     * 品种
     */
    @Excel(name = "品种", width = 15)
    @ApiModelProperty(value = "品种")
    private String variety;
    /**
     * 产品规格
     */
    @Excel(name = "产品规格", width = 15)
    @ApiModelProperty(value = "产品规格")
    private String productStandard;
    /**
     * 产品合格标准
     */
    @Excel(name = "产品合格标准", width = 15)
    @ApiModelProperty(value = "产品合格标准")
    private String productConformityStandard;
    /**
     * 产地
     */
    @Excel(name = "产地", width = 15)
    @ApiModelProperty(value = "产地")
    private String placeOfOrigin;
    /**
     * 产品介绍
     */
    @Excel(name = "产品介绍", width = 15)
    @ApiModelProperty(value = "产品介绍")
    private String productPresentation;
    /**
     * 企业id
     */
    @Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;
    /**
     * 是否当前索要展示的信息
     */
    @TableLogic(value = "1", delval = "0")
    private Integer isLogout;
    /**
     * 备案状态
     */
    @Dict(dicCode = "record_status")
    private Integer status;
    @Dict(dicCode = "exit")
    private Integer exitStatus;
    @Dict(dictTable = "zzzs_dand_plot_data", dicCode = "id", dicText = "name_of_land")
    private String fieldId;
    @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname")
    private String approverId;
}
